<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>openbox</Name>
        <Homepage>http://openbox.org</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>A standarts compliant, fast, lightweight window manager</Summary>
        <Description>Openbox is a window manager for the X11 windowing system.</Description>
        <Archive sha1sum="0a1b878cc5a64bcf2488dbd19260554a22f4dac2" type="targz">http://openbox.org/dist/openbox/openbox-3.6.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>pango-devel</Dependency>
            <Dependency>libXft-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>imlib2-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>startup-notification-devel</Dependency>
            <!--<Dependency>librsvg-devel</Dependency>-->
            <!--<Dependency>python-pyxdg</Dependency>-->
        </BuildDependencies>
        <Patches>
            <Patch>openbox-3.5.0-which-2.20.patch</Patch>
            <Patch>openbox-3.5.0-title-matching.patch</Patch>
            <Patch>openbox-default-theme.patch</Patch>
            <!--<Patch>openbox-gnome-session-3.4.9.patch</Patch>
            <Patch level="1">openbox-3.5.0-return.diff</Patch>
            <Patch level="1">02_fix_freedesktop_compliance.patch</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>openbox</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>libXft</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>imlib2</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libxml2</Dependency>
            <!--<Dependency>librsvg</Dependency>-->
            <Dependency>libXrandr</Dependency>
            <Dependency>libXcursor</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>startup-notification</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="config">/etc/xdg/openbox</Path>
            <Path fileType="config">/etc/xdg/obmenu-generator</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/openbox</Path>
            <Path fileType="data">/usr/share/themes</Path>
            <Path fileType="data">/usr/share/xsessions</Path>
            <Path fileType="data">/usr/share/gnome</Path>
            <Path fileType="data">/usr/share/gnome-session</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/obmenu-generator">obmenu-generator</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/etc/xdg/obmenu-generator/schema.pl">schema.pl</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/xdg/openbox/menu.xml">menu.xml</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/xdg/openbox/autostart">autostart</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/openbox/kedicik.png">kedicik.png</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>openbox-devel</Name>
        <Summary>Development headers for openbox</Summary>
        <RuntimeDependencies>
            <Dependency release="current">openbox</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libXft-devel</Dependency>
            <Dependency>imlib2-devel</Dependency>
<!--            <Dependency>librsvg-devel</Dependency>
-->        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="11">
            <Date>2015-07-24</Date>
            <Version>3.6.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="11">
            <Date>2015-05-18</Date>
            <Version>3.5.2</Version>
            <Comment>Rebuild</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2014-12-19</Date>
            <Version>3.5.2</Version>
            <Comment>Removed unneeded deps</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2014-07-14</Date>
            <Version>3.5.2</Version>
            <Comment>Update xdg menu creator from git</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2014-05-16</Date>
            <Version>3.5.2</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2014-01-02</Date>
            <Version>3.5.2</Version>
            <Comment>Added xdg menu</Comment>
            <Name>Burak Fazıl Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2013-11-06</Date>
            <Version>3.5.2</Version>
            <Comment>Fix deps.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2013-08-25</Date>
            <Version>3.5.2</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-08-24</Date>
            <Version>3.5.2</Version>
            <Comment>delegation</Comment>
            <Name>Erdinç Gültekin</Name>
            <Email>erdincgultekin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-08-12</Date>
            <Version>3.5.2</Version>
            <Comment>bump</Comment>
            <Name>Erdinç Gültekin</Name>
            <Email>erdincgultekin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-07-30</Date>
            <Version>3.5.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2013-01-06</Date>
            <Version>3.5.0</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
